package com.bush.mall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *  实体类
 * @author RUN
 * @date 2022-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="实体类", description="")
@TableName("mq_message")
public class MqMessageEntity implements Serializable {

	private static final long serialVersionUID = 1L;


	@TableId
	@ApiModelProperty(value = "")
	private String messageId;

	@ApiModelProperty(value = "")
	private String content;

	@ApiModelProperty(value = "")
	private String toExchane;

	@ApiModelProperty(value = "")
	private String routingKey;

	@ApiModelProperty(value = "")
	private String classType;

	@ApiModelProperty(value = "0-新建 1-已发送 2-错误抵达 3-已抵达")
	private Integer messageStatus;

	@ApiModelProperty(value = "")
	private Date createTime;

	@ApiModelProperty(value = "")
	private Date updateTime;

}
